home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 17706 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: nnrp.info.ucla.edu!usenet
  2. From: thomasj@seas.ucla.edu (T.K. Jun)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Compiler bug in Borland C++ 5.0
  5. Date: Wed, 17 Apr 1996 08:14:28 GMT
  6. Organization: University of California, Los Angeles
  7. Message-ID: <4l299v$11p6@saba.info.ucla.edu>
  8. References: <316A22E0.47B6@ee.oulu.fi> <4kglku$6lm@druid.borland.com> <4kmdcm$6vr@nnrp1.news.primenet.com>
  9. NNTP-Posting-Host: micro2.seas.ucla.edu
  10. X-Newsreader: Forte Free Agent 1.0.82
  11.  
  12. kj7bg@primenet.com (Bob White) wrote:
  13.  
  14. >IMHO strategic libraries such as OWL should compile with any alignment.  If 
  15. >that means the alignment is set in the header files via pragmas for that 
  16. >library so be it.  Just my 2 cents.
  17. >            Bob
  18.  
  19.  
  20. >In article <4kglku$6lm@druid.borland.com>, pete@borland.com says...
  21. >>
  22. >>In article <316A22E0.47B6@ee.oulu.fi>, artsi@ee.oulu.fi says...
  23. >>>
  24. >>>Try setting data aligment to other than byte and compile OWL project.
  25. >>>Virtual function InitMainWindow is not called with this setup (Double 
  26. >>>word or quad word). With word aligment program crashes. Byte aligment 
  27. >>>always work.
  28. >>>
  29. >>>I have Borland C++ 5.0 with patch 1.
  30. >>
  31. >>OWL was built with byte alignment. You cannot change alignment piecemeal: all 
  32. >>of the pieces that interact must agree on how structures are laid out. In 
  33. >>order to use a different alignment you would have to recompile the OWL DLL 
  34. >with 
  35. >>the new alignment as well. Not recommended.
  36. >>
  37.  
  38. For me BC 5.0 crashes when I do a simple edit using the editor.
  39. Delete a line and crash.  I'm using NT 3.51 with 32 MB of ram.  I run
  40. very simple programs using the console mode of win32.  Its hard to
  41. believe that Borland would release such buggy code.  Please email any
  42. suggestions.
  43.  
  44.  
  45. thomasj@seas.ucla.edu
  46.  
  47.